package cn.dnui_wnx725.dnuifood_16110100725.model;

import cn.dnui_wnx725.dnuifood_16110100725.bean.RegistBean;
import cn.dnui_wnx725.dnuifood_16110100725.iface.RegistIface;
import cn.dnui_wnx725.dnuifood_16110100725.listener.TListener;
import cn.dnui_wnx725.dnuifood_16110100725.service.Service;
import retrofit2.Call;
import retrofit2.Retrofit;



public class UpdateModel extends RetrofitBaseModel implements RegistIface {
    Retrofit retrofit;
    Service service;

    public UpdateModel(){
        retrofit = getRetrofit();
        service = getService();
    }
    @Override
    public void getRegistMassage(String username, String userpass, String mobilenum, String address, String comment, TListener tListener) {
        Call<RegistBean> call=service.UpdateInfo(username,userpass,mobilenum,address,comment);
        callenqueue(call,tListener);
    }
}